package com.stq.toutiao.model.response;

import java.io.Serializable;

/**
 * @author stqsht@163.com
 * @date 2020-01-23 15:33
 */
public class TouTiaoBase implements Serializable {
    /**
     * 错误号
     */
    private Integer errcode = 0;

    /**
     * 错误信息
     */
    private String errmsg = "请求成功";

    public TouTiaoBase() {
    }

    public TouTiaoBase(Integer errcode, String errmsg) {
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
}
